package com.example.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yt
 * @since 2024-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PsPoleInfo implements Serializable {


    /**
     * 杆塔主键ID
     */
    @TableId(value = "id",type= IdType.AUTO)
//    @TableField("id")
    private Integer id;

    @TableField("poleCode")
    private String poleCode;

    /**
     * 所属线路ID
     */
    @TableField("lineId")
    private Integer lineId;

    @TableField("lineCode")
    private String linecode;

    @TableField("lineName")
    private String linename;

    /**
     * 创建时间
     */
    @TableField("creationTime")
    private LocalDateTime creationtime;

    @TableField("createdBy")
    private String createdby;

    /**
     * 最后修改时间
     */
    @TableField("lastUpdateTime")
    private LocalDateTime lastupdatetime;

    /**
     * 是否启用1为启用0为不启用
     */
    @TableField("isStart")
    private Integer isstart;


}
